/*
 * SpycherReedCO2Model.h
 *
 *  Created on: 12 Sep 2011
 *      Author: Allan
 */

#ifndef SPYCHERREEDCO2MODEL_H_
#define SPYCHERREEDCO2MODEL_H_

// Eigen includes
#include <Eigen/Core>
using namespace Eigen;

/// Spycher, N., & Reed, M. (1988). Fugacity coefficients of H2, CO2, CH4, H2O and of H2O-CO2-CH4 
/// mixtures: A virial equation treatment for moderate pressures and temperatures applicable to 
/// calculations of hydrothermal boiling. Geochimica et Cosmochimica Acta, 52(3), 739-749. 
/// doi:10.1016/0016-7037(88)90334-1
///
/// Restriction: for P-T ranges, 50-350 C, up to 500 bars
const double SpycherReedFugacityCoefficientCO2(double T, double P, const VectorXd& n);

const double SpycherReedFugacityCoefficientH2O(double T, double P, const VectorXd& n);

#endif /* SPYCHERREEDCO2MODEL_H_ */
